package cn.cangfei.massage.exception;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class YyghException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Integer code;

    private String message;

   /* public YyghException(String message) {
        super(message);
    }

    public YyghException(Integer code, String message) {
        super(message);
        this.code = code;
    }*/
}
